package com.lin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName pageController
 * @Description 描述
 * @Author LinZePeng
 * @Date 2021/5/9 21:03
 * @Version 1.0
 */
@Controller
public class pageController {
	/**
	 * @Description 登入界面路由
	 * @Param []
	 * @return java.lang.String
	 */
	@RequestMapping("/login")
	public String loginUser(){
		return "login";
	}

	/**
	 * @Description 注册界面路由
	 * @Param []
	 * @return java.lang.String
	 */
	@RequestMapping("/registered")
	public String registeredUser(){
		return "registered";
	}

	@RequestMapping("/message")
	public String message() { return "message"; }

	@RequestMapping("/article/write")
	public String writeArticle(){return "writeArticle";}


}
